<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>参数</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="case2-demo6">
    <a v-bind:href="messageUrl">{{message}}</a>
</div>
<script type="text/javascript">
    var case2Demo=new Vue({
        el:"#case2-demo6",
        data:{
            message:"bilibili",
            messageUrl:"https://www.bilibili.com/"
        }
    })
</script>
</body>
</html>